package com.zengde.chapter1.pojo;

import com.zengde.chapter1.pojo.def.Animal;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;

@Component
@Primary
public class Cat implements Animal {
    @Override
    public void use() {
        System.out.println("猫咪可爱的在打呼噜");
    }
}
